/*
 * @Author: Mr.Song
 * @Date: 2020-07-24 10:54:43
 * @LastEditTime: 2020-07-24 10:56:01
 * @Description: 
 */ 

 let baseUrl;

 switch (process.env.NODE_ENV) {
    case 'development':
      baseURL = 'http://dev-mall-pre.springboot.cn/api';
      break;
    case 'test':
      baseURL = 'http://test-mall-pre.springboot.cn/api';
      break;
    case 'prev':
      baseURL = 'http://prev-mall-pre.springboot.cn/api';
      break;
    case 'prod':
      baseURL = 'http://mall-pre.springboot.cn/api';
      break;
    default:
      baseURL = 'http://mall-pre.springboot.cn/api';
      break;
  }

 export default {
     baseUrl
 }
